package com.yellowpage.bigdata.data;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.annotations.GenericGenerator;

/**
 * NspOnofflogImeiDaySum entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "NSP_ONOFFLOG_IMEI_DAY_SUM")
public class NspOnofflogImeiDaySum implements java.io.Serializable {

	// Fields

	private Integer onofflogImeiDaySumId;
	private String logDate;
	private String appVersion;
	private String operator;
	private String channelNo;
	private Integer imeiDayCount;
	private Integer imeiAllCount;
	private Integer imeiNewCount;
	private Integer createUser;
	private Date createTime;
	private String note;

	// Constructors

	/** default constructor */
	public NspOnofflogImeiDaySum() {
	}

	/** full constructor */
	public NspOnofflogImeiDaySum(String logDate, String appVersion,
			String operator, String channelNo, Integer imeiDayCount,
			Integer imeiAllCount, Integer imeiNewCount, Integer createUser,
			Date createTime, String note) {
		this.logDate = logDate;
		this.appVersion = appVersion;
		this.operator = operator;
		this.channelNo = channelNo;
		this.imeiDayCount = imeiDayCount;
		this.imeiAllCount = imeiAllCount;
		this.imeiNewCount = imeiNewCount;
		this.createUser = createUser;
		this.createTime = createTime;
		this.note = note;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "identity")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ONOFFLOG_IMEI_DAY_SUM_ID", unique = true, nullable = false)
	public Integer getOnofflogImeiDaySumId() {
		return this.onofflogImeiDaySumId;
	}

	public void setOnofflogImeiDaySumId(Integer onofflogImeiDaySumId) {
		this.onofflogImeiDaySumId = onofflogImeiDaySumId;
	}

	@Column(name = "LOG_DATE", length = 64)
	public String getLogDate() {
		return this.logDate;
	}

	public void setLogDate(String logDate) {
		this.logDate = logDate;
	}

	@Column(name = "APP_VERSION", length = 128)
	public String getAppVersion() {
		return this.appVersion;
	}

	public void setAppVersion(String appVersion) {
		this.appVersion = appVersion;
	}

	@Column(name = "OPERATOR", length = 18)
	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	@Column(name = "CHANNEL_NO", length = 18)
	public String getChannelNo() {
		return this.channelNo;
	}

	public void setChannelNo(String channelNo) {
		this.channelNo = channelNo;
	}

	@Column(name = "IMEI_DAY_COUNT")
	public Integer getImeiDayCount() {
		return this.imeiDayCount;
	}

	public void setImeiDayCount(Integer imeiDayCount) {
		this.imeiDayCount = imeiDayCount;
	}

	@Column(name = "IMEI_ALL_COUNT")
	public Integer getImeiAllCount() {
		return this.imeiAllCount;
	}

	public void setImeiAllCount(Integer imeiAllCount) {
		this.imeiAllCount = imeiAllCount;
	}

	@Column(name = "IMEI_NEW_COUNT")
	public Integer getImeiNewCount() {
		return this.imeiNewCount;
	}

	public void setImeiNewCount(Integer imeiNewCount) {
		this.imeiNewCount = imeiNewCount;
	}

	@Column(name = "CREATE_USER")
	public Integer getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CREATE_TIME", length = 0)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "NOTE", length = 128)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}